package project.sample.protocol.http;

import java.util.List;

/**
 * @author: WUZH009
 * @date: 2019/8/21 16:57
 **/
public interface HttpResponse {

    byte[] bytes();

    List<HttpHeader> headers();

    void addHeader(String name, String value);

    void setHeader(String name, String value);

    int status();

    void body(byte[] body);
}
